#ifndef __SOCKET_TCP_H
#define __SOCKET_TCP_H
#include "stm32f4xx.h"
#include "includes.h"
#include "sockets.h"
#include "netconf.h"
#include "lwip/api.h"
#define RECV_SIZE 300
#define SOCKETS_TCP_CLIENT_PORT 8086
#define SOCKETS_TCP_SERVER_PORT 8085
#define SOCKETS_TCP_MODE 1

#if SOCKETS_TCP_MODE
#define SOCKETS_TCP_CLIENT
#else
#define SOCKETS_TCP_SERVER
#endif
void sockettcp_init(void);
#endif
